﻿Application: DistantWorlds2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: SharpDX.SharpDXException
   at SharpDX.Result.CheckError()
   at SharpDX.Direct3D11.Device.CreateBuffer(SharpDX.Direct3D11.BufferDescription ByRef, System.Nullable`1<SharpDX.DataBox>, SharpDX.Direct3D11.Buffer)
   at SharpDX.Direct3D11.Buffer..ctor(SharpDX.Direct3D11.Device, IntPtr, SharpDX.Direct3D11.BufferDescription)
   at Xenko.Graphics.Buffer.InitializeFromImpl(Xenko.Graphics.BufferDescription, Xenko.Graphics.BufferFlags, Xenko.Graphics.PixelFormat, IntPtr)
   at Xenko.Graphics.Buffer.ToStaging()
   at Xenko.Graphics.Buffer.GetData[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Xenko.Graphics.CommandList, Single[])
   at Xenko.Graphics.Buffer.GetData[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Xenko.Graphics.CommandList)
   at DistantWorlds.Types.ModelVertexData.GetVertexData(Xenko.Engine.Game, Xenko.Rendering.Mesh, Xenko.Core.Mathematics.Quaternion, Single, Xenko.Graphics.VertexPositionNormalTexture[] ByRef, Int32[] ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Single ByRef)
   at DistantWorlds.Types.ModelVertexData.GetVertexData(Xenko.Engine.Game, Xenko.Graphics.GraphicsDevice, Xenko.Rendering.Mesh, Xenko.Core.Mathematics.Quaternion)
   at DistantWorlds.Types.ModelEffectHelper.ProcessModel(Xenko.Engine.Game, Xenko.Graphics.GraphicsDevice, Xenko.Rendering.Model, System.String, Boolean, Boolean)
   at DistantWorlds.Types.ModelEffectHelper.ObtainModel(Xenko.Core.Serialization.Contents.ContentManager, Xenko.Engine.Game, Xenko.Graphics.GraphicsDevice, System.String, Boolean, Boolean, DistantWorlds.Types.ModelVertexData ByRef)
   at DistantWorlds.Types.ModelEffectHelper.ObtainModelForDesign(Xenko.Core.Serialization.Contents.ContentManager, Xenko.Engine.Game, Xenko.Graphics.GraphicsDevice, DistantWorlds.Types.Design, DistantWorlds.Types.Galaxy, Single ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Boolean[] ByRef, Int32[] ByRef)
   at DistantWorlds2.EffectHelper.GenerateGraphicsNode(DistantWorlds.Types.StellarObject, DistantWorlds.Types.Design, Boolean, DistantWorlds.Types.Galaxy, DistantWorlds.Types.Empire, DistantWorlds.Types.Orb, Int32, Int32, Single, DistantWorlds.Types.CameraInfo, Xenko.Engine.Scene, DistantWorlds.Types.SceneViewMode, DistantWorlds.Types.SceneRenderType, DistantWorlds2.DWGame, Xenko.Graphics.GraphicsDevice, Xenko.Core.Serialization.Contents.ContentManager, DistantWorlds.Types.Location)
   at DistantWorlds2.EffectHelper.GenerateGraphicsNode(DistantWorlds.Types.StellarObject, DistantWorlds.Types.Galaxy, DistantWorlds.Types.Empire, DistantWorlds.Types.Orb, Int32, Int32, Single, DistantWorlds.Types.CameraInfo, Xenko.Engine.Scene, DistantWorlds.Types.SceneViewMode, DistantWorlds.Types.SceneRenderType, DistantWorlds2.DWGame, Xenko.Graphics.GraphicsDevice, Xenko.Core.Serialization.Contents.ContentManager, DistantWorlds.Types.Location)
   at DistantWorlds2.ScaledRenderer.GenerateBackgroundScene(Xenko.Graphics.GraphicsDevice, DistantWorlds.Types.OrbType, DistantWorlds.Types.Race, DistantWorlds.Types.ShipRole, Boolean, System.Random)
   at DistantWorlds2.ScaledRenderer.GenerateBackgroundScene(Xenko.Graphics.GraphicsDevice)
   at DistantWorlds2.ScaledRenderer.CheckGenerateMenuBackgroundScene(DistantWorlds2.MenuRenderer, DistantWorlds2.MenuRenderer)
   at DistantWorlds2.DWGame.Update(Xenko.Games.GameTime)
   at Xenko.Games.GameBase.InitializeBeforeRun()
   at Xenko.Games.GamePlatform.OnInitCallback()
   at Xenko.Games.GameWindowWinforms.Run()
   at Xenko.Games.GameBase.Run(Xenko.Games.GameContext)
   at KMQJdECdO9n5Sf8CYu.aCys2cD4XfJiyN8MEK.bbEEVj01T(System.Object)
   at <PrivateImplementationDetails>{F633F06F-DF43-4D37-927F-2FB66D68ED76}.Main(System.String[])
